#ifndef ALGIMPURITY_H
#define ALGIMPURITY_H
#include "halconcpp/HalconCpp.h"

#include "QString"
#include "Common/common.h"
using namespace HalconCpp;

class AlgImpurity
{
public:
    AlgImpurity();

    int detect(HObject  ho_A, HObject   ho_B, int num,int ccd_num);

    M_R_IMPURITY m_part;
    HObject g_ho_ImageResult;

    int g_ccd1 = 0;
    int g_ccd2 = 0;
    int g_ccd3 = 0;
};

#endif // ALGIMPURITY_H
